<template>
    <h1>商品列表......</h1>
    <h2>姓名：{{ person.name }}</h2>
    <h2>年龄：{{ person.age }}</h2>
    <h3>性别：{{ person.sex }}</h3>
</template>

<script setup lang="ts" name="Product">
    import { useRoute } from 'vue-router';

    const route=useRoute()
    let person=route.query
    console.log(person);
</script>


<style scoped>

</style>
